home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010306-20010921 / 000351_fdc@watsun.cc.columbia.edu_Fri Aug 31 18:20:43 EDT 2001.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  41 lines

  1. Article: 12735 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
  3. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: How to capture only text data with Kermit
  6. Date: 31 Aug 2001 22:20:36 GMT
  7. Organization: Columbia University
  8. Lines: 24
  9. Message-ID: <9mp2jk$mgc$1@newsmaster.cc.columbia.edu>
  10. References: <3B8FE7BA.9967C8DB@abrinco.com.ar> <9mopiv$gih$1@newsmaster.cc.columbia.edu>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 999296436 23052 128.59.39.2 (31 Aug 2001 22:20:36 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 31 Aug 2001 22:20:36 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12735
  16.  
  17. In article <9mopiv$gih$1@newsmaster.cc.columbia.edu>,
  18. Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
  19. : In article <3B8FE7BA.9967C8DB@abrinco.com.ar>,
  20. : Marcelo P. Larumbe <marcelo@abrinco.com.ar> wrote:
  21. : : I am user of Kermit 7.0.196 for Linux and I need to capture text data
  22. : : without any escape sequences. I would much appreciate if somebody could
  23. : : tell me how to do it.
  24. : : 
  25. : There is no way built in to C-Kermit to do this.  Although it does have
  26. : "set session-log text", this mainly just strips out carriage returns and
  27. : NULs, not escape sequences.
  28. : If they are standard ANSI-format escape sequences, it would not be hard
  29. : to write a postprocessor to strip them out of the session log based on the
  30. : finite state machine in ckucns.c (look at routine chkaes()).  This would
  31. : be a nice little project for a bored C programmer :-)
  32. It turns out Jeff Altman had already done this and had it squirreled away,
  33. so I added to the Web/FTP site:
  34.  
  35.   http://www.columbia.edu/kermit/utils.html
  36.   ftp://kermit.columbia.edu/kermit/utils/rmescseq.c
  37.  
  38. - Frank
  39.